package net.xyuu.repository;

import net.xyuu.entity.Category;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by XYUU on 2016/11/27.
 */
public interface CategoryRepository extends JpaRepository<Category, Long> {
    List<Category> findAll();
}